package com.xjh.basestudy.javabase.method.methodvoeride;

public class NewPhone extends Phone {
    @Override//注解  用来检查重写声明是否正确
    public void call(String name){
        System.out.println("开启视频通话");
//        System.out.println("给"+ name + "打电话");
        super.call(name);//与上一行功能相同
    }
}
